﻿using FrameworkCore.Migrations.Data;
using System.ComponentModel.DataAnnotations.Schema;

namespace Domain.Entities;

/// <summary>
/// 数学问题
/// </summary>
[Table("MathQuestions")]
public partial class MathQuestion : BaseAuditableEntity, ISoftDeletedEntity
{
    /// <summary>
    /// 问题
    /// </summary>
    public string? Question { get; set; }

    /// <summary>
    /// 答案
    /// </summary>
    public string? Answer { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    public MathQuestionStatus Status { get; set; }

    /// <summary>
    /// 是否收藏
    /// </summary>
    public bool IsFavorited { get; set; }

    /// <summary>
    /// 删除标识
    /// </summary>
    public bool? IsDeleted { get; set; }
}